package br.unesp.rc.locadora.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.PrimaryKeyJoinColumn;

@Entity
@Table(name="Juridica")
@PrimaryKeyJoinColumn(name="idPessoa")
public class Juridica extends Pessoa{
	
	private long cnpj;
	
	@Column(name="cnpj")
	public long getCnpj(){
		return cnpj;
	}
	
	public void setCnpj(long cnpj){
		this.cnpj = cnpj;
	}
	
}
